import 'package:flutter/material.dart';

class ThemeUtil {
  static ThemeData lightTheme = ThemeData(
    brightness: Brightness.light,
    scaffoldBackgroundColor: Colors.white,
    primaryColor: Colors.black,
    appBarTheme: AppBarTheme(
      backgroundColor: Colors.white,
      actionsIconTheme: IconThemeData(color: Colors.black),
      surfaceTintColor: Colors.white,
    ),
    tabBarTheme: TabBarTheme(
      indicatorColor: Colors.black,
      unselectedLabelColor: Colors.black.withValues(alpha: 0.5),
      labelColor: Colors.black,
    ),
    bottomNavigationBarTheme: BottomNavigationBarThemeData(
      backgroundColor: Colors.white,
      unselectedItemColor: Colors.black.withValues(alpha: 0.5),
      selectedItemColor: Colors.black,
    ),
    useMaterial3: true,
  );

  static ThemeData darkTheme = ThemeData(
    brightness: Brightness.dark,
    scaffoldBackgroundColor: Colors.black,
    primaryColor: Colors.white,
    appBarTheme: AppBarTheme(
      backgroundColor: Colors.black,
      actionsIconTheme: IconThemeData(color: Colors.white),
      surfaceTintColor: Colors.black,
    ),
    tabBarTheme: TabBarTheme(
      indicatorColor: Colors.white,
      unselectedLabelColor: Colors.white.withValues(alpha: 0.5),
      labelColor: Colors.white,
    ),
    bottomNavigationBarTheme: BottomNavigationBarThemeData(
      backgroundColor: Colors.black,
      unselectedItemColor: Colors.white.withValues(alpha: 0.5),
      selectedItemColor: Colors.white,
    ),
    useMaterial3: true,
  );
}
